Auto merge of #3951 - alexcrichton:lift-cdylib, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 2 May 2017 18:35:07 +0000 (18:35 +0000)
committerbors <bors@rust-lang.org>
Tue, 2 May 2017 18:35:07 +0000 (18:35 +0000)
commitde52ccd5356b0ac50286fc42328b40e78cf9c6e9
tree948898344ca1c197fbea40482319cae81773ad33
parent8cc22d2c9d9985122f16789ea24cfe6411ae408a
parentfccaffb15823ef65d09d4adb0203d9f957501dd9
Auto merge of #3951 - alexcrichton:lift-cdylib, r=alexcrichton

Don't use `-C metadata` cdylibs like we do with dylibs

Dylibs don't get any metadata/extra filename info applied to them as "final
targets" because it can mess with system-specific information (e.g. on OSX) so
this just applies the same logic to cdylibs which need similar treatment on more
platforms (like Windows).

Closes #3934
src/cargo/core/manifest.rs
tests/build.rs